package com.zyg.lambda;

import java.util.Arrays;
import java.util.List;

public class LambdaTest01 {
    public static void main(String[] args) {
        String[] sources = {"张三","李四","王五","赵六","钱七"};
        List<String> sourceList= Arrays.asList(sources);
        System.setProperty("jdk.internal.lambda.dumpProxyClasses","D://");
        sourceList.forEach(s-> System.out.println(s));
    }
}
